<?php $this->_extends('../_layouts/default_layout');?>
<?php $this->_block('contents');?>
<link type="text/css" href="<?=Q::ini('custom_system/base_url')?>css/jq.mselect.css" rel="stylesheet" />
<script type="text/javascript" src="<?=Q::ini('custom_system/base_url')?>js/jq.multiselect.js"></script>
<script type="text/javascript">
$(function(){
	$(".datepicker").datepicker({dateFormat: 'yy-mm-dd', changeMonth: true});
	$("#shop_ids").multiselect({height: 260, minWidth: 160});
});
</script>
<fieldset><legend>更新条件</legend>
<form method="post" action="<?=url('Services::EbayCase/Getcase')?>">
<table class="form_table">
<tr>
	<th>创建时间</th>
	<td>
		<input type="text" class="datepicker" name="begin_create_time" value="<?=date('Y-m-d', CURRENT_TIMESTAMP)?>" /> To
		<input type="text" class="datepicker" name="end_create_time" value="<?=date('Y-m-d', CURRENT_TIMESTAMP)?>" />
	</td>
</tr>
<tr>
	<th>店铺</th>
	<td>
		<select name="shop_ids[]" multiple="multiple" id="shop_ids">
			<optgroup label="ebay">
				<?foreach ($shop as $s):?>
				<option value="<?=$s['id']?>"><?=$s['name']?></option>
				<?endforeach;?>
			</optgroup>
		</select>
	</td>
</tr>
<tr>
	<td colspan="2"><input type="submit" class="button" value="更新纠纷" /></td>
</tr>
</table>
</form>
</fieldset>
<?php $this->_endblock();?>